/*
 ** main.c for main in /home/dieng_e/zappy-2011/client_graphique/SDl
 **
 ** Made by el-hadji-malick-ndour dieng
 ** Login   <dieng_e@epitech.net>
 **
 ** Started on  Tue Jun 28 15:49:57 2011 el-hadji-malick-ndour dieng
 ** Last update Tue Jun 28 15:49:59 2011 el-hadji-malick-ndour dieng
 */

#include <stdlib.h>
#include <SDL/SDL_ttf.h>
#include "header.h"

int main()
{
    params var;
    _sprites s_var;

    s_var.SHEET_HEIGHT = 200;
    s_var.SHEET_WIDTH = 200;
    var.SCREEN_BPP = 32;
    var.SCREEN_HEIGHT = 480;
    var.SCREEN_WIDTH = 640;

    Init_Video(&var);
    draw_map(&var);
/*
    Sprite_function(&s_var, &var);
*/
    Update_Map(var.screen);
    Loop_map(&var);
    Free_SDL_Surfaces(&var);

    return (EXIT_SUCCESS);
}
